//: Playground - noun: a place where people can play

import UIKit

for character in "Dog!".characters {
    print(character)
}

let greeting = "Guten Tag!"

greeting[greeting.startIndex]

greeting[greeting.index(before: greeting.endIndex)]

greeting[greeting.index(greeting.startIndex, offsetBy: 7)]


for index in greeting.characters.indices {
    print("\(greeting[index])", terminator: "")
}
